﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    [Serializable]
    public class LOPAWorkNode{
        private string _projectName;
        private string _eventNum;
        private string _pidList;
        private string _relatedDevices;
        private string _relatedProjects;
        private string _eventName;
        private string _assessDate;
        private string _eventDesc;
        private string _riskCriteriaSafe;
        private string _riskCriteriaEnv;
        private string _riskcriteriaBusi;
        private string _riskCriteriaSafeDesc;
        private string _riskCriteriaEnvDesc;
        private string _riskCriteriaBusiDesc;
        private string _riskCriteriaSafeFrequence;
        private string _riskCriteriaEnvFrequence;
        private string _riskCriteriaBusiFrequence;
        private string _causeEventDesc;
        private string _causeEventFrequence;
        private string _conditionFactorFrequence1;
        private string _conditionFactorFrequence2;
        private string _conditionFactorFrequence3;
        private string _conditionFactorFrequence4;
        private string _conditionFactorFrequence5;
        private string _conditionFactorEventFrequence;
        private string _currDepLevelType1;
        private string _currDepLevelType2;
        private string _currDepLevelType3;
        private string _currDepLevelType4;
        private string _currDepLevelType5;
        private string _currDepLevelType6;
        private string _currDepLevelDesc1;
        private string _currDepLevelDesc2;
        private string _currDepLevelDesc3;
        private string _currDepLevelDesc4;
        private string _currDepLevelDesc5;
        private string _currDepLevelDesc6;
        private string _currPfd1;
        private string _currPfd2;
        private string _currPfd3;
        private string _currPfd4;
        private string _currPfd5;
        private string _currPfd6;
        private string _currDepLevelPfd;
        private string _assessResSafeLevel;
        private string _assessResSafeLopaConclusion;
        private string _assessResSafeSil;
        private string _assessResEnvLevel;
        private string _assessResEnvLopaConclusion;
        private string _assessResEnvSil;
        private string _assessResBusiLevel;
        private string _assessResBusiLopaConclusion;
        private string _assessResBusiSil;
        private string _assessNewResSafeLevel;
        private string _assessNewResSafeLopaConclusion;
        private string _assessNewResSafeSil;
        private string _assessNewResEnvLevel;
        private string _assessNewResEnvLopaConclusion;
        private string _assessNewResEnvSil;
        private string _assessNewResBusiLevel;
        private string _assessNewResBusiLopaConclusion;
        private string _assessNewResBusiSil;
        private string _newDepLevelType1;
        private string _newDepLevelType2;
        private string _newDepLevelType3;
        private string _newDepLevelType4;
        private string _newDepLevelType5;
        private string _newDepLevelType6;
        private string _newDepLevelDesc1;
        private string _newDepLevelDesc2;
        private string _newDepLevelDesc3;
        private string _newDepLevelDesc4;
        private string _newDepLevelDesc5;
        private string _newDepLevelDesc6;
        private string _newPfd1;
        private string _newPfd2;
        private string _newPfd3;
        private string _newPfd4;
        private string _newPfd5;
        private string _newPfd6;
        private string _newDepLevelPfd;
        private string _advice;
        private string _eventFrequenceUnderCurrLevel;
        private string _eventFrequenceUnderNewLevel;

        public LOPAWorkNode(){}
        public LOPAWorkNode(string projectName,string eventName, string eventNum, string assessDate,string pidList){
            _projectName = projectName;
            _eventNum = eventNum;
            _eventName = eventName;
            _assessDate = assessDate;
            _pidList = pidList;
        }
        public LOPAWorkNode(string projectName, string eventNum, string pidList, string relatedDevices, string relatedProjects, string eventName, string assessDate, string eventDesc, string riskCriteriaSafe, string riskCriteriaEnv, string riskcriteriaBusi, string riskCriteriaSafeDesc, string riskCriteriaEnvDesc, string riskCriteriaBusiDesc, string riskCriteriaSafeFrequence, string riskCriteriaEnvFrequence, string riskCriteriaBusiFrequence, string causeEventDesc, string causeEventFrequence, string conditionFactorFrequence1, string conditionFactorFrequence2, string conditionFactorFrequence3, string conditionFactorFrequence4, string conditionFactorFrequence5, string conditionFactorEventFrequence, string currDepLevelType1, string currDepLevelType2, string currDepLevelType3, string currDepLevelType4, string currDepLevelType5, string currDepLevelType6, string currDepLevelDesc1, string currDepLevelDesc2, string currDepLevelDesc3, string currDepLevelDesc4, string currDepLevelDesc5, string currDepLevelDesc6, string currPfd1, string currPfd2, string currPfd3, string currPfd4, string currPfd5, string currPfd6, string currDepLevelPfd, string assessResSafeLevel, string assessResSafeLopaConclusion, string assessResSafeSil, string assessResEnvLevel, string assessResEnvLopaConclusion, string assessResEnvSil, string assessResBusiLevel, string assessResBusiLopaConclusion, string assessResBusiSil, string assessNewResSafeLevel, string assessNewResSafeLopaConclusion, string assessNewResSafeSil, string assessNewResEnvLevel, string assessNewResEnvLopaConclusion, string assessNewResEnvSil, string assessNewResBusiLevel, string assessNewResBusiLopaConclusion, string assessNewResBusiSil, string newDepLevelType1, string newDepLevelType2, string newDepLevelType3, string newDepLevelType4, string newDepLevelType5, string newDepLevelType6, string newDepLevelDesc1, string newDepLevelDesc2, string newDepLevelDesc3, string newDepLevelDesc4, string newDepLevelDesc5, string newDepLevelDesc6, string newPfd1, string newPfd2, string newPfd3, string newPfd4, string newPfd5, string newPfd6, string newDepLevelPfd, string advice, string eventFrequenceUnderCurrLevel, string eventFrequenceUnderNewLevel){
            _projectName = projectName;
            _eventNum = eventNum;
            _pidList = pidList;
            _relatedDevices = relatedDevices;
            _relatedProjects = relatedProjects;
            _eventName = eventName;
            _assessDate = assessDate;
            _eventDesc = eventDesc;
            _riskCriteriaSafe = riskCriteriaSafe;
            _riskCriteriaEnv = riskCriteriaEnv;
            _riskcriteriaBusi = riskcriteriaBusi;
            _riskCriteriaSafeDesc = riskCriteriaSafeDesc;
            _riskCriteriaEnvDesc = riskCriteriaEnvDesc;
            _riskCriteriaBusiDesc = riskCriteriaBusiDesc;
            _riskCriteriaSafeFrequence = riskCriteriaSafeFrequence;
            _riskCriteriaEnvFrequence = riskCriteriaEnvFrequence;
            _riskCriteriaBusiFrequence = riskCriteriaBusiFrequence;
            _causeEventDesc = causeEventDesc;
            _causeEventFrequence = causeEventFrequence;
            _conditionFactorFrequence1 = conditionFactorFrequence1;
            _conditionFactorFrequence2 = conditionFactorFrequence2;
            _conditionFactorFrequence3 = conditionFactorFrequence3;
            _conditionFactorFrequence4 = conditionFactorFrequence4;
            _conditionFactorFrequence5 = conditionFactorFrequence5;
            _conditionFactorEventFrequence = conditionFactorEventFrequence;
            _currDepLevelType1 = currDepLevelType1;
            _currDepLevelType2 = currDepLevelType2;
            _currDepLevelType3 = currDepLevelType3;
            _currDepLevelType4 = currDepLevelType4;
            _currDepLevelType5 = currDepLevelType5;
            _currDepLevelType6 = currDepLevelType6;
            _currDepLevelDesc1 = currDepLevelDesc1;
            _currDepLevelDesc2 = currDepLevelDesc2;
            _currDepLevelDesc3 = currDepLevelDesc3;
            _currDepLevelDesc4 = currDepLevelDesc4;
            _currDepLevelDesc5 = currDepLevelDesc5;
            _currDepLevelDesc6 = currDepLevelDesc6;
            _currPfd1 = currPfd1;
            _currPfd2 = currPfd2;
            _currPfd3 = currPfd3;
            _currPfd4 = currPfd4;
            _currPfd5 = currPfd5;
            _currPfd6 = currPfd6;
            _currDepLevelPfd = currDepLevelPfd;
            _assessResSafeLevel = assessResSafeLevel;
            _assessResSafeLopaConclusion = assessResSafeLopaConclusion;
            _assessResSafeSil = assessResSafeSil;
            _assessResEnvLevel = assessResEnvLevel;
            _assessResEnvLopaConclusion = assessResEnvLopaConclusion;
            _assessResEnvSil = assessResEnvSil;
            _assessResBusiLevel = assessResBusiLevel;
            _assessResBusiLopaConclusion = assessResBusiLopaConclusion;
            _assessResBusiSil = assessResBusiSil;
            _assessNewResSafeLevel = assessNewResSafeLevel;
            _assessNewResSafeLopaConclusion = assessNewResSafeLopaConclusion;
            _assessNewResSafeSil = assessNewResSafeSil;
            _assessNewResEnvLevel = assessNewResEnvLevel;
            _assessNewResEnvLopaConclusion = assessNewResEnvLopaConclusion;
            _assessNewResEnvSil = assessNewResEnvSil;
            _assessNewResBusiLevel = assessNewResBusiLevel;
            _assessNewResBusiLopaConclusion = assessNewResBusiLopaConclusion;
            _assessNewResBusiSil = assessNewResBusiSil;
            _newDepLevelType1 = newDepLevelType1;
            _newDepLevelType2 = newDepLevelType2;
            _newDepLevelType3 = newDepLevelType3;
            _newDepLevelType4 = newDepLevelType4;
            _newDepLevelType5 = newDepLevelType5;
            _newDepLevelType6 = newDepLevelType6;
            _newDepLevelDesc1 = newDepLevelDesc1;
            _newDepLevelDesc2 = newDepLevelDesc2;
            _newDepLevelDesc3 = newDepLevelDesc3;
            _newDepLevelDesc4 = newDepLevelDesc4;
            _newDepLevelDesc5 = newDepLevelDesc5;
            _newDepLevelDesc6 = newDepLevelDesc6;
            _newPfd1 = newPfd1;
            _newPfd2 = newPfd2;
            _newPfd3 = newPfd3;
            _newPfd4 = newPfd4;
            _newPfd5 = newPfd5;
            _newPfd6 = newPfd6;
            _newDepLevelPfd = newDepLevelPfd;
            _advice = advice;
            _eventFrequenceUnderCurrLevel = eventFrequenceUnderCurrLevel;
            _eventFrequenceUnderNewLevel = eventFrequenceUnderNewLevel;
        }

        public string ProjectName{
            get { return _projectName; }
            set { _projectName = value; }
        }

        public string EventNum{
            get { return _eventNum; }
            set { _eventNum = value; }
        }

        public string PidList{
            get { return _pidList; }
            set { _pidList = value; }
        }

        public string RelatedDevices{
            get { return _relatedDevices; }
            set { _relatedDevices = value; }
        }

        public string RelatedProjects{
            get { return _relatedProjects; }
            set { _relatedProjects = value; }
        }

        public string EventName{
            get { return _eventName; }
            set { _eventName = value; }
        }

        public string AssessDate{
            get { return _assessDate; }
            set { _assessDate = value; }
        }

        public string EventDesc{
            get { return _eventDesc; }
            set { _eventDesc = value; }
        }

        public string RiskCriteriaSafe{
            get { return _riskCriteriaSafe; }
            set { _riskCriteriaSafe = value; }
        }

        public string RiskCriteriaEnv{
            get { return _riskCriteriaEnv; }
            set { _riskCriteriaEnv = value; }
        }

        public string RiskcriteriaBusi{
            get { return _riskcriteriaBusi; }
            set { _riskcriteriaBusi = value; }
        }

        public string RiskCriteriaSafeDesc{
            get { return _riskCriteriaSafeDesc; }
            set { _riskCriteriaSafeDesc = value; }
        }

        public string RiskCriteriaEnvDesc{
            get { return _riskCriteriaEnvDesc; }
            set { _riskCriteriaEnvDesc = value; }
        }

        public string RiskCriteriaBusiDesc{
            get { return _riskCriteriaBusiDesc; }
            set { _riskCriteriaBusiDesc = value; }
        }

        public string RiskCriteriaSafeFrequence{
            get { return _riskCriteriaSafeFrequence; }
            set { _riskCriteriaSafeFrequence = value; }
        }

        public string RiskCriteriaEnvFrequence{
            get { return _riskCriteriaEnvFrequence; }
            set { _riskCriteriaEnvFrequence = value; }
        }

        public string RiskCriteriaBusiFrequence{
            get { return _riskCriteriaBusiFrequence; }
            set { _riskCriteriaBusiFrequence = value; }
        }

        public string CauseEventDesc{
            get { return _causeEventDesc; }
            set { _causeEventDesc = value; }
        }

        public string CauseEventFrequence{
            get { return _causeEventFrequence; }
            set { _causeEventFrequence = value; }
        }

        public string ConditionFactorFrequence1{
            get { return _conditionFactorFrequence1; }
            set { _conditionFactorFrequence1 = value; }
        }

        public string ConditionFactorFrequence2{
            get { return _conditionFactorFrequence2; }
            set { _conditionFactorFrequence2 = value; }
        }

        public string ConditionFactorFrequence3{
            get { return _conditionFactorFrequence3; }
            set { _conditionFactorFrequence3 = value; }
        }

        public string ConditionFactorFrequence4{
            get { return _conditionFactorFrequence4; }
            set { _conditionFactorFrequence4 = value; }
        }

        public string ConditionFactorFrequence5{
            get { return _conditionFactorFrequence5; }
            set { _conditionFactorFrequence5 = value; }
        }

        public string ConditionFactorEventFrequence{
            get { return _conditionFactorEventFrequence; }
            set { _conditionFactorEventFrequence = value; }
        }

        public string CurrDepLevelType1{
            get { return _currDepLevelType1; }
            set { _currDepLevelType1 = value; }
        }

        public string CurrDepLevelType2{
            get { return _currDepLevelType2; }
            set { _currDepLevelType2 = value; }
        }

        public string CurrDepLevelType3{
            get { return _currDepLevelType3; }
            set { _currDepLevelType3 = value; }
        }

        public string CurrDepLevelType4{
            get { return _currDepLevelType4; }
            set { _currDepLevelType4 = value; }
        }

        public string CurrDepLevelType5{
            get { return _currDepLevelType5; }
            set { _currDepLevelType5 = value; }
        }

        public string CurrDepLevelType6{
            get { return _currDepLevelType6; }
            set { _currDepLevelType6 = value; }
        }

        public string CurrDepLevelDesc1{
            get { return _currDepLevelDesc1; }
            set { _currDepLevelDesc1 = value; }
        }

        public string CurrDepLevelDesc2{
            get { return _currDepLevelDesc2; }
            set { _currDepLevelDesc2 = value; }
        }

        public string CurrDepLevelDesc3{
            get { return _currDepLevelDesc3; }
            set { _currDepLevelDesc3 = value; }
        }

        public string CurrDepLevelDesc4{
            get { return _currDepLevelDesc4; }
            set { _currDepLevelDesc4 = value; }
        }

        public string CurrDepLevelDesc5{
            get { return _currDepLevelDesc5; }
            set { _currDepLevelDesc5 = value; }
        }

        public string CurrDepLevelDesc6{
            get { return _currDepLevelDesc6; }
            set { _currDepLevelDesc6 = value; }
        }

        public string CurrPfd1{
            get { return _currPfd1; }
            set { _currPfd1 = value; }
        }

        public string CurrPfd2{
            get { return _currPfd2; }
            set { _currPfd2 = value; }
        }

        public string CurrPfd3{
            get { return _currPfd3; }
            set { _currPfd3 = value; }
        }

        public string CurrPfd4{
            get { return _currPfd4; }
            set { _currPfd4 = value; }
        }

        public string CurrPfd5{
            get { return _currPfd5; }
            set { _currPfd5 = value; }
        }

        public string CurrPfd6{
            get { return _currPfd6; }
            set { _currPfd6 = value; }
        }

        public string CurrDepLevelPfd{
            get { return _currDepLevelPfd; }
            set { _currDepLevelPfd = value; }
        }

        public string AssessResSafeLevel{
            get { return _assessResSafeLevel; }
            set { _assessResSafeLevel = value; }
        }

        public string AssessResSafeLopaConclusion{
            get { return _assessResSafeLopaConclusion; }
            set { _assessResSafeLopaConclusion = value; }
        }

        public string AssessResSafeSil{
            get { return _assessResSafeSil; }
            set { _assessResSafeSil = value; }
        }

        public string AssessResEnvLevel{
            get { return _assessResEnvLevel; }
            set { _assessResEnvLevel = value; }
        }

        public string AssessResEnvLopaConclusion{
            get { return _assessResEnvLopaConclusion; }
            set { _assessResEnvLopaConclusion = value; }
        }

        public string AssessResEnvSil{
            get { return _assessResEnvSil; }
            set { _assessResEnvSil = value; }
        }

        public string AssessResBusiLevel{
            get { return _assessResBusiLevel; }
            set { _assessResBusiLevel = value; }
        }

        public string AssessResBusiLopaConclusion{
            get { return _assessResBusiLopaConclusion; }
            set { _assessResBusiLopaConclusion = value; }
        }

        public string AssessResBusiSil{
            get { return _assessResBusiSil; }
            set { _assessResBusiSil = value; }
        }

        public string AssessNewResSafeLevel{
            get { return _assessNewResSafeLevel; }
            set { _assessNewResSafeLevel = value; }
        }

        public string AssessNewResSafeLopaConclusion{
            get { return _assessNewResSafeLopaConclusion; }
            set { _assessNewResSafeLopaConclusion = value; }
        }

        public string AssessNewResSafeSil{
            get { return _assessNewResSafeSil; }
            set { _assessNewResSafeSil = value; }
        }

        public string AssessNewResEnvLevel{
            get { return _assessNewResEnvLevel; }
            set { _assessNewResEnvLevel = value; }
        }

        public string AssessNewResEnvLopaConclusion{
            get { return _assessNewResEnvLopaConclusion; }
            set { _assessNewResEnvLopaConclusion = value; }
        }

        public string AssessNewResEnvSil{
            get { return _assessNewResEnvSil; }
            set { _assessNewResEnvSil = value; }
        }

        public string AssessNewResBusiLevel{
            get { return _assessNewResBusiLevel; }
            set { _assessNewResBusiLevel = value; }
        }

        public string AssessNewResBusiLopaConclusion{
            get { return _assessNewResBusiLopaConclusion; }
            set { _assessNewResBusiLopaConclusion = value; }
        }

        public string AssessNewResBusiSil{
            get { return _assessNewResBusiSil; }
            set { _assessNewResBusiSil = value; }
        }

        public string NewDepLevelType1{
            get { return _newDepLevelType1; }
            set { _newDepLevelType1 = value; }
        }

        public string NewDepLevelType2{
            get { return _newDepLevelType2; }
            set { _newDepLevelType2 = value; }
        }

        public string NewDepLevelType3{
            get { return _newDepLevelType3; }
            set { _newDepLevelType3 = value; }
        }

        public string NewDepLevelType4{
            get { return _newDepLevelType4; }
            set { _newDepLevelType4 = value; }
        }

        public string NewDepLevelType5{
            get { return _newDepLevelType5; }
            set { _newDepLevelType5 = value; }
        }

        public string NewDepLevelType6{
            get { return _newDepLevelType6; }
            set { _newDepLevelType6 = value; }
        }

        public string NewDepLevelDesc1{
            get { return _newDepLevelDesc1; }
            set { _newDepLevelDesc1 = value; }
        }

        public string NewDepLevelDesc2{
            get { return _newDepLevelDesc2; }
            set { _newDepLevelDesc2 = value; }
        }

        public string NewDepLevelDesc3{
            get { return _newDepLevelDesc3; }
            set { _newDepLevelDesc3 = value; }
        }

        public string NewDepLevelDesc4{
            get { return _newDepLevelDesc4; }
            set { _newDepLevelDesc4 = value; }
        }

        public string NewDepLevelDesc5{
            get { return _newDepLevelDesc5; }
            set { _newDepLevelDesc5 = value; }
        }

        public string NewDepLevelDesc6{
            get { return _newDepLevelDesc6; }
            set { _newDepLevelDesc6 = value; }
        }

        public string NewPfd1{
            get { return _newPfd1; }
            set { _newPfd1 = value; }
        }

        public string NewPfd2{
            get { return _newPfd2; }
            set { _newPfd2 = value; }
        }

        public string NewPfd3{
            get { return _newPfd3; }
            set { _newPfd3 = value; }
        }

        public string NewPfd4{
            get { return _newPfd4; }
            set { _newPfd4 = value; }
        }

        public string NewPfd5{
            get { return _newPfd5; }
            set { _newPfd5 = value; }
        }

        public string NewPfd6{
            get { return _newPfd6; }
            set { _newPfd6 = value; }
        }

        public string NewDepLevelPfd{
            get { return _newDepLevelPfd; }
            set { _newDepLevelPfd = value; }
        }

        public string Advice{
            get { return _advice; }
            set { _advice = value; }
        }

        public string EventFrequenceUnderCurrLevel{
            get { return _eventFrequenceUnderCurrLevel; }
            set { _eventFrequenceUnderCurrLevel = value; }
        }

        public string EventFrequenceUnderNewLevel{
            get { return _eventFrequenceUnderNewLevel; }
            set { _eventFrequenceUnderNewLevel = value; }
        }

    }
}
